<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<meta name="generator" content="Doxygen 1.8.9.1"/>
<title>Crawler: Crawler::WorkerManager Class Reference</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="dynsections.js"></script>
<link href="navtree.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="resize.js"></script>
<script type="text/javascript" src="navtreedata.js"></script>
<script type="text/javascript" src="navtree.js"></script>
<script type="text/javascript">
  $(document).ready(initResizable);
  $(window).load(resizeHeight);
</script>
<link href="search/search.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="search/searchdata.js"></script>
<script type="text/javascript" src="search/search.js"></script>
<script type="text/javascript">
  $(document).ready(function() { init_search(); });
</script>
<link href="doxygen.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr style="height: 56px;">
  <td style="padding-left: 0.5em;">
   <div id="projectname">Crawler
   &#160;<span id="projectnumber">1.0</span>
   </div>
  </td>
 </tr>
 </tbody>
</table>
</div>
<!-- end header part -->
<!-- Generated by Doxygen 1.8.9.1 -->
<script type="text/javascript">
var searchBox = new SearchBox("searchBox", "search",false,'Search');
</script>
  <div id="navrow1" class="tabs">
    <ul class="tablist">
      <li><a href="index.html"><span>Main&#160;Page</span></a></li>
      <li><a href="namespaces.html"><span>Namespaces</span></a></li>
      <li class="current"><a href="annotated.html"><span>Classes</span></a></li>
      <li><a href="files.html"><span>Files</span></a></li>
      <li>
        <div id="MSearchBox" class="MSearchBoxInactive">
        <span class="left">
          <img id="MSearchSelect" src="search/mag_sel.png"
               onmouseover="return searchBox.OnSearchSelectShow()"
               onmouseout="return searchBox.OnSearchSelectHide()"
               alt=""/>
          <input type="text" id="MSearchField" value="Search" accesskey="S"
               onfocus="searchBox.OnSearchFieldFocus(true)" 
               onblur="searchBox.OnSearchFieldFocus(false)" 
               onkeyup="searchBox.OnSearchFieldChange(event)"/>
          </span><span class="right">
            <a id="MSearchClose" href="javascript:searchBox.CloseResultsWindow()"><img id="MSearchCloseImg" border="0" src="search/close.png" alt=""/></a>
          </span>
        </div>
      </li>
    </ul>
  </div>
  <div id="navrow2" class="tabs2">
    <ul class="tablist">
      <li><a href="annotated.html"><span>Class&#160;List</span></a></li>
      <li><a href="classes.html"><span>Class&#160;Index</span></a></li>
      <li><a href="functions.html"><span>Class&#160;Members</span></a></li>
    </ul>
  </div>
</div><!-- top -->
<div id="side-nav" class="ui-resizable side-nav-resizable">
  <div id="nav-tree">
    <div id="nav-tree-contents">
      <div id="nav-sync" class="sync"></div>
    </div>
  </div>
  <div id="splitbar" style="-moz-user-select:none;" 
       class="ui-resizable-handle">
  </div>
</div>
<script type="text/javascript">
$(document).ready(function(){initNavTree('class_crawler_1_1_worker_manager.html','');});
</script>
<div id="doc-content">
<!-- window showing the filter options -->
<div id="MSearchSelectWindow"
     onmouseover="return searchBox.OnSearchSelectShow()"
     onmouseout="return searchBox.OnSearchSelectHide()"
     onkeydown="return searchBox.OnSearchSelectKey(event)">
</div>

<!-- iframe showing the search results (closed by default) -->
<div id="MSearchResultsWindow">
<iframe src="javascript:void(0)" frameborder="0" 
        name="MSearchResults" id="MSearchResults">
</iframe>
</div>

<div class="header">
  <div class="summary">
<a href="#pub-types">Public Types</a> &#124;
<a href="#pub-methods">Public Member Functions</a> &#124;
<a href="class_crawler_1_1_worker_manager-members.html">List of all members</a>  </div>
  <div class="headertitle">
<div class="title">Crawler::WorkerManager Class Reference</div>  </div>
</div><!--header-->
<div class="contents">

<p><code>#include &lt;<a class="el" href="_worker_manager_8hpp_source.html">WorkerManager.hpp</a>&gt;</code></p>
<table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-types"></a>
Public Types</h2></td></tr>
<tr class="memitem:a5160dd76c74ca0275a642b6d1d6d08bc"><td class="memItemLeft" align="right" valign="top">using&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_crawler_1_1_worker_manager.html#a5160dd76c74ca0275a642b6d1d6d08bc">ConstIterator</a> = std::list&lt; std::unique_ptr&lt; <a class="el" href="class_crawler_1_1_worker.html">Crawler::Worker</a> &gt;&gt;::const_iterator</td></tr>
<tr class="separator:a5160dd76c74ca0275a642b6d1d6d08bc"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-methods"></a>
Public Member Functions</h2></td></tr>
<tr class="memitem:af66aa7a09696dc2e3e6c509960152abd"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_crawler_1_1_worker_manager.html#af66aa7a09696dc2e3e6c509960152abd">WorkerManager</a> (<a class="el" href="class_crawler_1_1_application.html">Application</a> &amp;application)</td></tr>
<tr class="memdesc:af66aa7a09696dc2e3e6c509960152abd"><td class="mdescLeft">&#160;</td><td class="mdescRight">Constructor.  <a href="#af66aa7a09696dc2e3e6c509960152abd">More...</a><br /></td></tr>
<tr class="separator:af66aa7a09696dc2e3e6c509960152abd"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a1ed9da795171ebeb1aabd1506a83632f"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_crawler_1_1_worker_manager.html#a1ed9da795171ebeb1aabd1506a83632f">WorkerManager</a> (const <a class="el" href="class_crawler_1_1_worker_manager.html">WorkerManager</a> &amp;workerManager)=delete</td></tr>
<tr class="memdesc:a1ed9da795171ebeb1aabd1506a83632f"><td class="mdescLeft">&#160;</td><td class="mdescRight">Copy constructor.  <a href="#a1ed9da795171ebeb1aabd1506a83632f">More...</a><br /></td></tr>
<tr class="separator:a1ed9da795171ebeb1aabd1506a83632f"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:adf7cd8642f26220330375a7da3d66134"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_crawler_1_1_worker_manager.html#adf7cd8642f26220330375a7da3d66134">WorkerManager</a> (<a class="el" href="class_crawler_1_1_worker_manager.html">WorkerManager</a> &amp;&amp;workerManager)=delete</td></tr>
<tr class="memdesc:adf7cd8642f26220330375a7da3d66134"><td class="mdescLeft">&#160;</td><td class="mdescRight">Move constructor.  <a href="#adf7cd8642f26220330375a7da3d66134">More...</a><br /></td></tr>
<tr class="separator:adf7cd8642f26220330375a7da3d66134"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a1f2cfe40346b4876bc6699c78a475a96"><td class="memItemLeft" align="right" valign="top"><a class="el" href="class_crawler_1_1_worker_manager.html">WorkerManager</a> &amp;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_crawler_1_1_worker_manager.html#a1f2cfe40346b4876bc6699c78a475a96">operator=</a> (const <a class="el" href="class_crawler_1_1_worker_manager.html">WorkerManager</a> &amp;workerManager)=delete</td></tr>
<tr class="memdesc:a1f2cfe40346b4876bc6699c78a475a96"><td class="mdescLeft">&#160;</td><td class="mdescRight">Copy assignment operator.  <a href="#a1f2cfe40346b4876bc6699c78a475a96">More...</a><br /></td></tr>
<tr class="separator:a1f2cfe40346b4876bc6699c78a475a96"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aa16be296ec92e09be514c7f0b122f0ee"><td class="memItemLeft" align="right" valign="top"><a class="el" href="class_crawler_1_1_worker_manager.html">WorkerManager</a> &amp;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_crawler_1_1_worker_manager.html#aa16be296ec92e09be514c7f0b122f0ee">operator=</a> (<a class="el" href="class_crawler_1_1_worker_manager.html">WorkerManager</a> &amp;&amp;workerManager)=delete</td></tr>
<tr class="memdesc:aa16be296ec92e09be514c7f0b122f0ee"><td class="mdescLeft">&#160;</td><td class="mdescRight">Move assignment operator.  <a href="#aa16be296ec92e09be514c7f0b122f0ee">More...</a><br /></td></tr>
<tr class="separator:aa16be296ec92e09be514c7f0b122f0ee"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a78b7d9c3e7fb1eb3c8d568e8048273de"><td class="memItemLeft" align="right" valign="top"><a class="el" href="class_crawler_1_1_application.html">Crawler::Application</a> &amp;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_crawler_1_1_worker_manager.html#a78b7d9c3e7fb1eb3c8d568e8048273de">getApplication</a> ()</td></tr>
<tr class="memdesc:a78b7d9c3e7fb1eb3c8d568e8048273de"><td class="mdescLeft">&#160;</td><td class="mdescRight">Returns application.  <a href="#a78b7d9c3e7fb1eb3c8d568e8048273de">More...</a><br /></td></tr>
<tr class="separator:a78b7d9c3e7fb1eb3c8d568e8048273de"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a904127a9afd47ac7409a87c5cddbf404"><td class="memItemLeft" align="right" valign="top">const <a class="el" href="class_crawler_1_1_application.html">Crawler::Application</a> &amp;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_crawler_1_1_worker_manager.html#a904127a9afd47ac7409a87c5cddbf404">getApplication</a> () const </td></tr>
<tr class="memdesc:a904127a9afd47ac7409a87c5cddbf404"><td class="mdescLeft">&#160;</td><td class="mdescRight">Returns application.  <a href="#a904127a9afd47ac7409a87c5cddbf404">More...</a><br /></td></tr>
<tr class="separator:a904127a9afd47ac7409a87c5cddbf404"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:abb08a70465a495d7f7bef9388c73e6c7"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_crawler_1_1_worker_manager.html#abb08a70465a495d7f7bef9388c73e6c7">setAmountOfWorker</a> (std::size_t amountOfWorker)</td></tr>
<tr class="memdesc:abb08a70465a495d7f7bef9388c73e6c7"><td class="mdescLeft">&#160;</td><td class="mdescRight">Changes amount of worker.  <a href="#abb08a70465a495d7f7bef9388c73e6c7">More...</a><br /></td></tr>
<tr class="separator:abb08a70465a495d7f7bef9388c73e6c7"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a90edb07566d306b3e40625a109926478"><td class="memItemLeft" align="right" valign="top">std::size_t&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_crawler_1_1_worker_manager.html#a90edb07566d306b3e40625a109926478">getAmountOfWorker</a> () const </td></tr>
<tr class="memdesc:a90edb07566d306b3e40625a109926478"><td class="mdescLeft">&#160;</td><td class="mdescRight">Returns amount of worker.  <a href="#a90edb07566d306b3e40625a109926478">More...</a><br /></td></tr>
<tr class="separator:a90edb07566d306b3e40625a109926478"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:acf0f7d2269d469fdd10f90de1802a0e0"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_crawler_1_1_worker_manager.html#acf0f7d2269d469fdd10f90de1802a0e0">spawnWorker</a> ()</td></tr>
<tr class="memdesc:acf0f7d2269d469fdd10f90de1802a0e0"><td class="mdescLeft">&#160;</td><td class="mdescRight">Spawns a worker.  <a href="#acf0f7d2269d469fdd10f90de1802a0e0">More...</a><br /></td></tr>
<tr class="separator:acf0f7d2269d469fdd10f90de1802a0e0"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:af77314b7fef1073a5a49e903fe9735ad"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_crawler_1_1_worker_manager.html#af77314b7fef1073a5a49e903fe9735ad">despawnWorker</a> ()</td></tr>
<tr class="memdesc:af77314b7fef1073a5a49e903fe9735ad"><td class="mdescLeft">&#160;</td><td class="mdescRight">Despawns a worker.  <a href="#af77314b7fef1073a5a49e903fe9735ad">More...</a><br /></td></tr>
<tr class="separator:af77314b7fef1073a5a49e903fe9735ad"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:adc739a8db9184618bce1af698cad7351"><td class="memItemLeft" align="right" valign="top">const std::list&lt; std::unique_ptr&lt; <a class="el" href="class_crawler_1_1_worker.html">Crawler::Worker</a> &gt; &gt; &amp;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_crawler_1_1_worker_manager.html#adc739a8db9184618bce1af698cad7351">getWorker</a> () const </td></tr>
<tr class="memdesc:adc739a8db9184618bce1af698cad7351"><td class="mdescLeft">&#160;</td><td class="mdescRight">Returns list of workers.  <a href="#adc739a8db9184618bce1af698cad7351">More...</a><br /></td></tr>
<tr class="separator:adc739a8db9184618bce1af698cad7351"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a27b89da04231f14c39c77f911373e8b2"><td class="memItemLeft" align="right" valign="top"><a class="el" href="class_crawler_1_1_worker_manager.html#a5160dd76c74ca0275a642b6d1d6d08bc">ConstIterator</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_crawler_1_1_worker_manager.html#a27b89da04231f14c39c77f911373e8b2">begin</a> () const </td></tr>
<tr class="memdesc:a27b89da04231f14c39c77f911373e8b2"><td class="mdescLeft">&#160;</td><td class="mdescRight">Returns begin iterator.  <a href="#a27b89da04231f14c39c77f911373e8b2">More...</a><br /></td></tr>
<tr class="separator:a27b89da04231f14c39c77f911373e8b2"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ab37a1b8ce853882d0227f25f7aa11230"><td class="memItemLeft" align="right" valign="top"><a class="el" href="class_crawler_1_1_worker_manager.html#a5160dd76c74ca0275a642b6d1d6d08bc">ConstIterator</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_crawler_1_1_worker_manager.html#ab37a1b8ce853882d0227f25f7aa11230">cbegin</a> () const </td></tr>
<tr class="memdesc:ab37a1b8ce853882d0227f25f7aa11230"><td class="mdescLeft">&#160;</td><td class="mdescRight">Returns begin iterator.  <a href="#ab37a1b8ce853882d0227f25f7aa11230">More...</a><br /></td></tr>
<tr class="separator:ab37a1b8ce853882d0227f25f7aa11230"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a4decbfcf3e4892050cd6691081f2a70f"><td class="memItemLeft" align="right" valign="top"><a class="el" href="class_crawler_1_1_worker_manager.html#a5160dd76c74ca0275a642b6d1d6d08bc">ConstIterator</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_crawler_1_1_worker_manager.html#a4decbfcf3e4892050cd6691081f2a70f">end</a> () const </td></tr>
<tr class="memdesc:a4decbfcf3e4892050cd6691081f2a70f"><td class="mdescLeft">&#160;</td><td class="mdescRight">Returns end iterator.  <a href="#a4decbfcf3e4892050cd6691081f2a70f">More...</a><br /></td></tr>
<tr class="separator:a4decbfcf3e4892050cd6691081f2a70f"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a48b7d5a1ce5359bc59844b1d8699f154"><td class="memItemLeft" align="right" valign="top"><a class="el" href="class_crawler_1_1_worker_manager.html#a5160dd76c74ca0275a642b6d1d6d08bc">ConstIterator</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_crawler_1_1_worker_manager.html#a48b7d5a1ce5359bc59844b1d8699f154">cend</a> () const </td></tr>
<tr class="memdesc:a48b7d5a1ce5359bc59844b1d8699f154"><td class="mdescLeft">&#160;</td><td class="mdescRight">Returns end iterator.  <a href="#a48b7d5a1ce5359bc59844b1d8699f154">More...</a><br /></td></tr>
<tr class="separator:a48b7d5a1ce5359bc59844b1d8699f154"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table>
<a name="details" id="details"></a><h2 class="groupheader">Detailed Description</h2>
<div class="textblock">
<p>Definition at line <a class="el" href="_worker_manager_8hpp_source.html#l00013">13</a> of file <a class="el" href="_worker_manager_8hpp_source.html">WorkerManager.hpp</a>.</p>
</div><h2 class="groupheader">Member Typedef Documentation</h2>
<a class="anchor" id="a5160dd76c74ca0275a642b6d1d6d08bc"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">using <a class="el" href="class_crawler_1_1_worker_manager.html#a5160dd76c74ca0275a642b6d1d6d08bc">Crawler::WorkerManager::ConstIterator</a> =  std::list &lt;std::unique_ptr &lt;<a class="el" href="class_crawler_1_1_worker.html">Crawler::Worker</a>&gt;&gt;::const_iterator</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Definition at line <a class="el" href="_worker_manager_8hpp_source.html#l00016">16</a> of file <a class="el" href="_worker_manager_8hpp_source.html">WorkerManager.hpp</a>.</p>

</div>
</div>
<h2 class="groupheader">Constructor &amp; Destructor Documentation</h2>
<a class="anchor" id="af66aa7a09696dc2e3e6c509960152abd"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">Crawler::WorkerManager::WorkerManager </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="class_crawler_1_1_application.html">Application</a> &amp;&#160;</td>
          <td class="paramname"><em>application</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Constructor. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">application</td><td>Reference to application object </td></tr>
  </table>
  </dd>
</dl>

<p>Definition at line <a class="el" href="_worker_manager_8cpp_source.html#l00005">5</a> of file <a class="el" href="_worker_manager_8cpp_source.html">WorkerManager.cpp</a>.</p>

</div>
</div>
<a class="anchor" id="a1ed9da795171ebeb1aabd1506a83632f"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">Crawler::WorkerManager::WorkerManager </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="class_crawler_1_1_worker_manager.html">WorkerManager</a> &amp;&#160;</td>
          <td class="paramname"><em>workerManager</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">delete</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Copy constructor. </p>

</div>
</div>
<a class="anchor" id="adf7cd8642f26220330375a7da3d66134"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">Crawler::WorkerManager::WorkerManager </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="class_crawler_1_1_worker_manager.html">WorkerManager</a> &amp;&amp;&#160;</td>
          <td class="paramname"><em>workerManager</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">delete</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Move constructor. </p>

</div>
</div>
<h2 class="groupheader">Member Function Documentation</h2>
<a class="anchor" id="a27b89da04231f14c39c77f911373e8b2"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="class_crawler_1_1_worker_manager.html#a5160dd76c74ca0275a642b6d1d6d08bc">Crawler::WorkerManager::ConstIterator</a> Crawler::WorkerManager::begin </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Returns begin iterator. </p>
<dl class="section return"><dt>Returns</dt><dd>Begin iterator </dd></dl>

<p>Definition at line <a class="el" href="_worker_manager_8cpp_source.html#l00067">67</a> of file <a class="el" href="_worker_manager_8cpp_source.html">WorkerManager.cpp</a>.</p>

</div>
</div>
<a class="anchor" id="ab37a1b8ce853882d0227f25f7aa11230"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="class_crawler_1_1_worker_manager.html#a5160dd76c74ca0275a642b6d1d6d08bc">Crawler::WorkerManager::ConstIterator</a> Crawler::WorkerManager::cbegin </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Returns begin iterator. </p>
<dl class="section return"><dt>Returns</dt><dd>Begin iterator </dd></dl>

<p>Definition at line <a class="el" href="_worker_manager_8cpp_source.html#l00071">71</a> of file <a class="el" href="_worker_manager_8cpp_source.html">WorkerManager.cpp</a>.</p>

</div>
</div>
<a class="anchor" id="a48b7d5a1ce5359bc59844b1d8699f154"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="class_crawler_1_1_worker_manager.html#a5160dd76c74ca0275a642b6d1d6d08bc">Crawler::WorkerManager::ConstIterator</a> Crawler::WorkerManager::cend </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Returns end iterator. </p>
<dl class="section return"><dt>Returns</dt><dd>End iterator </dd></dl>

<p>Definition at line <a class="el" href="_worker_manager_8cpp_source.html#l00079">79</a> of file <a class="el" href="_worker_manager_8cpp_source.html">WorkerManager.cpp</a>.</p>

</div>
</div>
<a class="anchor" id="af77314b7fef1073a5a49e903fe9735ad"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void Crawler::WorkerManager::despawnWorker </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Despawns a worker. </p>

<p>Definition at line <a class="el" href="_worker_manager_8cpp_source.html#l00049">49</a> of file <a class="el" href="_worker_manager_8cpp_source.html">WorkerManager.cpp</a>.</p>

</div>
</div>
<a class="anchor" id="a4decbfcf3e4892050cd6691081f2a70f"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="class_crawler_1_1_worker_manager.html#a5160dd76c74ca0275a642b6d1d6d08bc">Crawler::WorkerManager::ConstIterator</a> Crawler::WorkerManager::end </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Returns end iterator. </p>
<dl class="section return"><dt>Returns</dt><dd>End iterator </dd></dl>

<p>Definition at line <a class="el" href="_worker_manager_8cpp_source.html#l00075">75</a> of file <a class="el" href="_worker_manager_8cpp_source.html">WorkerManager.cpp</a>.</p>

</div>
</div>
<a class="anchor" id="a90edb07566d306b3e40625a109926478"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">std::size_t Crawler::WorkerManager::getAmountOfWorker </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Returns amount of worker. </p>
<dl class="section return"><dt>Returns</dt><dd>Amount of worker </dd></dl>

<p>Definition at line <a class="el" href="_worker_manager_8cpp_source.html#l00032">32</a> of file <a class="el" href="_worker_manager_8cpp_source.html">WorkerManager.cpp</a>.</p>

</div>
</div>
<a class="anchor" id="a78b7d9c3e7fb1eb3c8d568e8048273de"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="class_crawler_1_1_application.html">Crawler::Application</a> &amp; Crawler::WorkerManager::getApplication </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Returns application. </p>
<dl class="section return"><dt>Returns</dt><dd>Reference to application </dd></dl>

<p>Definition at line <a class="el" href="_worker_manager_8cpp_source.html#l00010">10</a> of file <a class="el" href="_worker_manager_8cpp_source.html">WorkerManager.cpp</a>.</p>

</div>
</div>
<a class="anchor" id="a904127a9afd47ac7409a87c5cddbf404"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">const <a class="el" href="class_crawler_1_1_application.html">Crawler::Application</a> &amp; Crawler::WorkerManager::getApplication </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Returns application. </p>
<dl class="section return"><dt>Returns</dt><dd>Reference to application </dd></dl>

<p>Definition at line <a class="el" href="_worker_manager_8cpp_source.html#l00015">15</a> of file <a class="el" href="_worker_manager_8cpp_source.html">WorkerManager.cpp</a>.</p>

</div>
</div>
<a class="anchor" id="adc739a8db9184618bce1af698cad7351"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">const std::list&lt; std::unique_ptr&lt; <a class="el" href="class_crawler_1_1_worker.html">Crawler::Worker</a> &gt; &gt; &amp; Crawler::WorkerManager::getWorker </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Returns list of workers. </p>
<dl class="section return"><dt>Returns</dt><dd>Reference to list of workers </dd></dl>

<p>Definition at line <a class="el" href="_worker_manager_8cpp_source.html#l00062">62</a> of file <a class="el" href="_worker_manager_8cpp_source.html">WorkerManager.cpp</a>.</p>

</div>
</div>
<a class="anchor" id="a1f2cfe40346b4876bc6699c78a475a96"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="class_crawler_1_1_worker_manager.html">WorkerManager</a>&amp; Crawler::WorkerManager::operator= </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="class_crawler_1_1_worker_manager.html">WorkerManager</a> &amp;&#160;</td>
          <td class="paramname"><em>workerManager</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">delete</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Copy assignment operator. </p>

</div>
</div>
<a class="anchor" id="aa16be296ec92e09be514c7f0b122f0ee"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="class_crawler_1_1_worker_manager.html">WorkerManager</a>&amp; Crawler::WorkerManager::operator= </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="class_crawler_1_1_worker_manager.html">WorkerManager</a> &amp;&amp;&#160;</td>
          <td class="paramname"><em>workerManager</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">delete</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Move assignment operator. </p>

</div>
</div>
<a class="anchor" id="abb08a70465a495d7f7bef9388c73e6c7"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void Crawler::WorkerManager::setAmountOfWorker </td>
          <td>(</td>
          <td class="paramtype">std::size_t&#160;</td>
          <td class="paramname"><em>amountOfWorker</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Changes amount of worker. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">amountOfWorker</td><td>Value of amount of worker </td></tr>
  </table>
  </dd>
</dl>

<p>Definition at line <a class="el" href="_worker_manager_8cpp_source.html#l00020">20</a> of file <a class="el" href="_worker_manager_8cpp_source.html">WorkerManager.cpp</a>.</p>

</div>
</div>
<a class="anchor" id="acf0f7d2269d469fdd10f90de1802a0e0"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void Crawler::WorkerManager::spawnWorker </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Spawns a worker. </p>

<p>Definition at line <a class="el" href="_worker_manager_8cpp_source.html#l00037">37</a> of file <a class="el" href="_worker_manager_8cpp_source.html">WorkerManager.cpp</a>.</p>

</div>
</div>
<hr/>The documentation for this class was generated from the following files:<ul>
<li>Source/Crawler/<a class="el" href="_worker_manager_8hpp_source.html">WorkerManager.hpp</a></li>
<li>Source/Crawler/<a class="el" href="_worker_manager_8cpp_source.html">WorkerManager.cpp</a></li>
</ul>
</div><!-- contents -->
</div><!-- doc-content -->
<!-- start footer part -->
<div id="nav-path" class="navpath"><!-- id is needed for treeview function! -->
  <ul>
    <li class="navelem"><a class="el" href="namespace_crawler.html">Crawler</a></li><li class="navelem"><a class="el" href="class_crawler_1_1_worker_manager.html">WorkerManager</a></li>
    <li class="footer">Generated by
    <a href="http://www.doxygen.org/index.html">
    <img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.8.9.1 </li>
  </ul>
</div>
</body>
</html>
